express the function as a composition of two other functions